import {createRouter, createWebHashHistory} from "vue-router";
import {createApp} from "vue";
import './assets/main.css'
import route_test from "./components/sub/route_test1.vue";
import home from "./components/home.vue";
import routeVue from "./components/route.vue";
import axios_test from "@/components/sub/axios_test.vue";


import App from './App.vue'
import "bootstrap/dist/css/bootstrap.css"
import "bootstrap-vue/dist/bootstrap-vue.min.css"
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/index.css'


const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: "/",
            component: routeVue
        },
        {
            path: "/home",
            component: home
        }, {
            path: "/route_test",
            component: route_test
        },
        {
            path: "/axios_test", component: axios_test
        }
    ]
});
let app = createApp(App);
app.use(router)
    .mount("#app");
